package com.iotechn.unimall.data.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.iotechn.unimall.data.domain.ShopBiaozhunDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 文章
 *
 * @author hct
 * @email 77802226@qq.com
 * @date 2020-04-21 13:35:44
 */
public interface ShopBiaozhunMapper extends BaseMapper<ShopBiaozhunDO> {

    public List<ShopBiaozhunDO> search(String title);

   public boolean batchInsert(@Param("shopBiaozhunDOS") List<ShopBiaozhunDO> shopBiaozhunDOS);
    public boolean batchUpdate(@Param("shopBiaozhunDOS") List<ShopBiaozhunDO> shopBiaozhunDOS);

    public List<ShopBiaozhunDO> getBiaozhunByShopId(@Param("shopId") Long shopId,@Param("jiedianId") Long jiedianId);
}
